onload = function() {
    location = '/profile/' + location.pathname.split('/')[2];
};
